Let's translate our sprite in the x direction.

We must slide the triangle to the right until it covers the target triangle.

  • Go to and drag Translate x into your program, then click Run.
  • Change the number in sprite.translate_x(50) until the triangle overlaps with the target triangle.
  • Click Submit and Next once the triangle overlaps the target.

To navigate the page using the TAB key, first press ESC to exit the code editor.

# THIS ACTIVITY IS IN PREVIEW ONLY MODE
  • Run Code
  • Submit Work
  • Next Activity
  • Show Console
  • Reset Code Editor
  • Codesters How To (opens in a new tab)